package com.yumeko;


import com.yumeko.server.DiscardServer;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @program: netty-dubbo-zhenghao
 * @description:
 * @author: Zheng Hao
 * @create: 2020-03-12 14:19
 */
@SpringBootApplication
public class ServerBootstrap implements CommandLineRunner {

    public static void main(String[] args) {
        SpringApplication.run(ServerBootstrap.class, args);
    }

    @Override
    public void run(String... args) throws Exception {
        DiscardServer.startServer("127.0.0.1", 6666);
    }
}
